const { contextBridge, ipcRenderer } = require('electron')

contextBridge.exposeInMainWorld('createRouteID_api', {
    start: (routeType, routeArea, routeAbbreviation) => ipcRenderer.send('start', routeType, routeArea, routeAbbreviation),
    getRouteName_pre: () => ipcRenderer.invoke('getRouteName_option'),
})